package com.ruoyi.community.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 群组列表对象 owner_group
 * 
 * @author ruoyi
 * @date 2021-08-05
 */
public class OwnerGroup extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 群组ID */
    private String groupId;

    /** 群组名称 */
    @Excel(name = "群组名称")
    private String groupName;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String information;

    /** 创建者 */
    @Excel(name = "创建者")
    private String creater;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 成员数 */
    @Excel(name = "成员数")
    private Long member;

    /** 社区ID */
    @Excel(name = "社区ID")
    private Long communityId;

    public void setGroupId(String groupId) 
    {
        this.groupId = groupId;
    }

    public String getGroupId() 
    {
        return groupId;
    }
    public void setGroupName(String groupName) 
    {
        this.groupName = groupName;
    }

    public String getGroupName() 
    {
        return groupName;
    }
    public void setInformation(String information) 
    {
        this.information = information;
    }

    public String getInformation() 
    {
        return information;
    }
    public void setCreater(String creater) 
    {
        this.creater = creater;
    }

    public String getCreater() 
    {
        return creater;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setMember(Long member) 
    {
        this.member = member;
    }

    public Long getMember() 
    {
        return member;
    }
    public void setCommunityId(Long communityId) 
    {
        this.communityId = communityId;
    }

    public Long getCommunityId() 
    {
        return communityId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("groupId", getGroupId())
            .append("groupName", getGroupName())
            .append("information", getInformation())
            .append("creater", getCreater())
            .append("time", getTime())
            .append("member", getMember())
            .append("communityId", getCommunityId())
            .toString();
    }
}
